package com.lilosoft.business.cga.service;

import com.lilosoft.business.cga.dao.SysDeptMapper;
import com.lilosoft.business.cga.models.SysDept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 小峰
 * Date: 2019-08-28
 * Time: 11:44
 */
@Service
public class SysDeptService {
    @Autowired
    private SysDeptMapper sysDeptMapper;

    public SysDept selectByDeptId(String deptId){
        return sysDeptMapper.selectByPrimaryKey(deptId);
    }
}
